package com.petecat.interchan.sso.sysrole.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.petecat.interchan.core.mapper.BaseMapper;
import com.petecat.interchan.protocol.data.Page;
import com.petecat.interchan.sso.sysrole.entity.SyChanmgrolem;

/**
 * 
 * @ClassName:  SysRoleMapper   
 * @Description:系统角色mapper  
 * @author: 张小虎
 * @date:   2017年7月19日 上午10:11:32
 */
@Mapper
@Repository
public interface SysRoleMapper extends BaseMapper<SyChanmgrolem, String> {

	/**   
	 * @Title: page   
	 * @Description: 分页查询角色信息 
	 * @param page
	 * @return List<SyChanmgrolem>     
	 */
	List<SyChanmgrolem> page(Page<SyChanmgrolem> page);

	/**   
	 * @Title: pageCount   
	 * @Description:分页查询数量
	 * @param page
	 * @return int     
	 */
	int pageCount(Page<SyChanmgrolem> page);
	
}